import 'package:flutter/material.dart';
class Test18 extends StatefulWidget{
    _TestState createState() => _TestState();
}

class _TestState extends State<Test18> {
    

  @override
  Widget build(BuildContext context) {

    return new Scaffold(
        appBar: AppBar(
            title: Text("hero动画示例"),
            centerTitle: true,
        ),
        body: Container(
            alignment: Alignment.topRight,
            child: Hero(
                tag: "herodemo",
                child: CircleAvatar(
                    child: Icon(IconData(0xec4c, fontFamily: "Iconfont"), size: 24.0),
                ),
            ),
        ),
        
    );
  }


}
